package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试情况对象 mine_exam_situation
 * 
 * @author ruoyi
 * @date 2025-01-14
 */
public class MineExamSituation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考试情况ID */
    private Long examSituationId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 考试ID */
    @Excel(name = "考试ID")
    private Long examId;

    /** 用户得分 */
    @Excel(name = "用户得分")
    private BigDecimal score;

    /** 是否通过 */
    @Excel(name = "是否通过")
    private Integer isPassing;

    public void setExamSituationId(Long examSituationId) 
    {
        this.examSituationId = examSituationId;
    }

    public Long getExamSituationId() 
    {
        return examSituationId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }
    public void setIsPassing(Integer isPassing) 
    {
        this.isPassing = isPassing;
    }

    public Integer getIsPassing() 
    {
        return isPassing;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("examSituationId", getExamSituationId())
            .append("userId", getUserId())
            .append("examId", getExamId())
            .append("score", getScore())
            .append("isPassing", getIsPassing())
            .toString();
    }
}
